package com.sl.au.entity;

import javax.persistence.*;

/** 模板详情 */
@Entity
@Table(name = "sl_wcsi_Template_Details")
public class TemplateDetails extends Root {

	/**
	 * 模板
	 */
	@ManyToOne
	@JoinColumn(name = "template", nullable = true)
	private Template template;
	
	/**
	 * 评分层级
	 */
	@ManyToOne
	@JoinColumn(name = "grading", nullable = true)
	private Grading grading;
	
	/**
	 * 人员
	 */
	@ManyToOne
	@JoinColumn(name = "user", nullable = true)
	private User user;

	public Template getTemplate() {
		return template;
	}

	public void setTemplate(Template template) {
		this.template = template;
	}

	public Grading getGrading() {
		return grading;
	}

	public void setGrading(Grading grading) {
		this.grading = grading;
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}
	
}
